package com.privatetime.service.impl;

import java.util.List;

import com.privatetime.dao.GroupDao;
import com.privatetime.model.Group;
import com.privatetime.service.GroupService;

public class GroupServiceImpl extends BaseServiceImpl<Group, Integer> implements
		GroupService {
	private GroupDao groupDao;

	public void setGroupDao(GroupDao groupDao) {
		super.setBaseDao(groupDao);
		this.groupDao = groupDao;
	}

	public List<Group> findGroupList(Integer userId) {
		return groupDao.findGroupList(userId);
	}

	public List<Group> findGroupList(List<Integer> checkboxList) {
		return groupDao.findGroupList(checkboxList);
	}

}
